/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

package com.iecg.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 设备中心
 *
 * @author pigx code generator
 * @date 2019-09-30 10:06:34
 */
@Data
@TableName("iecg_screen_device")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "设备中心")
public class IecgScreenDevice extends Model<IecgScreenDevice> {
private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId
    @ApiModelProperty(value="编号")
    private Long id;
    /**
     * 在线设备数
     */
    @ApiModelProperty(value="在线设备数")
    private Integer onlineNum;
    /**
     * 正在预警设备数
     */
    @ApiModelProperty(value="正在预警设备数")
    private Integer alarmNum;
    /**
     * 总设备数
     */
    @ApiModelProperty(value="总设备数")
    private Integer allNum;
    /**
     * 呼叫求助数
     */
    @ApiModelProperty(value="呼叫求助数")
    private Integer callNum;
    /**
     * 有效预警率
     */
    @ApiModelProperty(value="有效预警率")
    private BigDecimal effectRate;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value="更新时间")
    private LocalDateTime updateTime;
    /**
     * 删除标记
     */
    @ApiModelProperty(value="删除标记")
    private Integer delFlag;
    }
